<template>
	<view class="splash-container">
		<view class="content-wrapper">
			<image class="splash-image" src="/static/logo.png" mode="aspectFit" />
			<view class="text-container">
				<text class="text-line">搜狐黑马大赛</text>
				<text class="text-line">AI恋习室</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		mounted() {
			setTimeout(() => {
				uni.redirectTo({
					url: '/pages/index/index'
				});
			}, 2000);
		}
	};
</script>

<style>
	.splash-container {
		display: flex;
		justify-content: center;
		align-items: center;
		height: 100vh;
		background-color: #FFFFFF;
	}
	
	.content-wrapper {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	.splash-image {
		width: 200px;
		height: 200px;
		margin-bottom: 20px;
	}
	
	.text-container {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	.text-line {
		font-size: 16px;
		color: #333;
		margin-bottom: 10px;
	}
</style>